#include "E--_RT.c"
int main(int argc, char *argv[]) {
	E_RT_init(argc, argv);
JMP(begin);
prt3: R901=ADD(R900,1);
LDI(R901, R050);
R901=ADD(R901,1);
LDF(R901, F051);
R901=ADD(R901,1);
LDI(R901, R052);
R901=ADD(R901,1);
LDF(R901, F053);
R901=ADD(R901,1);
LDI(R901, R054);
PRTS(R054);
PRTF(F053);
PRTS("*");
PRTI(R052);
PRTS("=");
PRTF(F051);
PRTS("\n");
R900=ADD(R900,5);
JMPI(R050);
begin: MOVI(1036, R000);
MOVI(1172, R001);
MOVI(1169, R002);
R003=SUB(R001,R000);
R004=SUB(R001,R002);
R005=ADD(R004,R003);
R006=MUL(R003,R004);
R007=DIV(R006,R004);
R008=MOD(R001,R000);
R008= NEG(R008);
MOVF(1.036, F000);
MOVF(1.172, F001);
MOVF(1.169, F002);
F003=FSUB(F001,F000);
F004=FSUB(F001,F002);
F005=FADD(F004,F003);
F006=FMUL(F003,F004);
F007=FDIV(F006,F004);
F007= FNEG(F007);
MOVI(1036, R000);
MOVI(1048, R001);
MOVI(1052, R002);
R003=OR(R001,R000);
R004=AND(R001,R002);
R004=XOR(R001,R002);
IN(R010);
R010=ADD(R010,1);
R020=SUB(R010,1);
IN(R021);
MOVIF(R021, F022);
F022=FDIV(F022,100.0);
IN(R021);
MOVIF(R021, F021);
F021=FADD(F021,F022);
MOVF(0.0, F011);
L1: R010=SUB(R010,1);
JMPC(GE(0, R010), L2);
F011=FADD(F021,F011);
JMP(L1);
L2: PRTF(F011);
PRTS("\n");
MOVI(10000, R900);
MOVS("Computed using loop that ", R022);
STI(R022, R900);
R900=SUB(R900,1);
STF(F021, R900);
R900=SUB(R900,1);
STI(R020, R900);
R900=SUB(R900,1);
STF(F011, R900);
R900=SUB(R900,1);
MOVL(L3, R025);
STI(R025, R900);
R900=SUB(R900,1);
JMP(prt3);
L3: PRTI(R900);
PRTS("\n");
IN(R201);
PRTI(R201);
PRTS("(");
INI(R200);
PRTI(R200);
PRTS(", ");
INF(F200);
PRTF(F200);
PRTS(")\n");
IN(R201);
PRTI(R201);
PRTS("(");
INI(R200);
PRTI(R200);
PRTS(", ");
INF(F200);
PRTF(F200);
PRTS(")\n");
PRTS("\n***DONE***\n");

	E_RT_exit(); return 0;
}
